2017-10-13 mysqld_multi stop 不能停掉mysql MySQL 使用mysqld_multi start 启动了多个mysql实例,但是mysqld_multi stop 却不能停止,为啥呢?因为还没有授权呢。 1/usr/local/mysql/bin/mysqld_multi stop 但是默认是停不掉的,需要做一个授权 1grant shutdown on *.* to 'username'@'localhost' identified by 'password' 另外还需要在my.cnf配置文件中加上: 12345[mysqld_multi]mysqld = /usr/local/mysql/bin/mysqld_safemysqladmin = /usr/local/mysql/bin/mysqladminuser = usernamepassword = password < 使用mysql-proxy 快速实现mysql 集群读写分离 mysql登录 >